<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			// = 可以将符号右侧的值赋值给符号左侧的变量
			// +=  a += 5等价于a = a + 5
			// -=  a -= 5等价于a = a - 5
			// *=  a *= 5等价于a = a * 5
			// /=  a /= 5等价于a = a / 5
			// %=  a %= 5等价于a = a % 5
			
			var a = 123;
			console.log(a);
			
			a = 10;
			// a = a + 5;
			a += 5;
			console.log(a);
			
			a -= 5;
			console.log("a = "+a);
			
			a *= 5;
			console.log("a = "+a);
			
			a %= 3;
			console.log("a = "+a);//2
		</script>
	</head>
	<body>
	</body>
</html>
